'宣言 Public Function New( _ ByVal values() As System.Single _ )
public Vector2( System.float[] values )
パラメータ
- values
- The values to assign to the X and Y components of the vector. This must be an array with two elements.
'宣言 Public Function New( _ ByVal values() As System.Single _ )
public Vector2( System.float[] values )
| 例外 | 解説 |
|---|---|
| System.ArgumentNullException | Thrown when
valuesis
null. |
| System.ArgumentOutOfRangeException | Thrown when valuescontains more or less than two elements. |